//package com.pony.iphone.service.impl;
//
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.pony.iphone.entity.Library;
//import com.pony.iphone.mapper.LibraryMapper;
//import com.pony.iphone.service.LibraryService;
//import com.pony.iphone.utils.AppHttpCodeEnum;
//import com.pony.iphone.utils.R;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
///**
// * @author pony
// * @create 2025-10-30 16:57
// */
//@Service
//public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> implements LibraryService {
//
//    @Autowired
//    private LibraryMapper libraryMapper;
//
//    /**
//     * 获取所有题库信息
//     * @return R
//     */
//    @Override
//    public R getAllLib() {
//        LambdaQueryWrapper<Library> qw = new LambdaQueryWrapper<>();
//        List<Library> libraryList = libraryMapper.selectList(qw);
//        return R.success(AppHttpCodeEnum.SUCCESS)
//                .message("查询所有题库信息，成功！")
//                .data("libraryList", libraryList);
//    }
//}
